package com.icss.day02;

public class Test10 {
    public static void main(String[] args) {

//        Animal an1 = new Animal();
//        an1.typename = "狗";
//        an1.move();

        Dog d1 = new Dog();

        d1.legs = 3;
        d1.typename = "狗";

        d1.kanmen();
        d1.move();
        // 打印语句是典型的重载
        System.out.println("AAA");
        System.out.println(1);
        System.out.println('C');
        System.out.println(false);


        abc();
        abc(1);
        abc(1, "hello");
    }


    public static void abc() {

    }
    public static void abc(int a) {

    }
    public static void abc(int a, String b) {

    }




}

